﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace ProjectPheonix {
    class Bullet : BasicEntity {
        Vector3 direction;

        public Bullet(Model m, Vector3 v, float Scale, Vector3 direction)
            : base(m, v, Scale) {
                this.direction = direction;
        }

        public override void Update() {
            world *= Matrix.CreateTranslation(direction);
        }
    }
}
